using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using LERP.Domain;

namespace LERP.Infrastructure.NHibernateMaps
{
    public class GoodsCategoryMap : IAutoMappingOverride<GoodsCategory>
    {
        /// <summary>
        /// Alter the automapping for this type
        /// </summary>
        /// <param name="mapping">Automapping</param>
        public void Override(AutoMapping<GoodsCategory> mapping)
        {
            mapping.SubClass(typeof(int),"1");
        }
    }
}